package com.smartboard.network.game;

import java.io.Serializable;

/**
 * Created by cheas on 2018/8/17.
 */

public class GameObject implements Serializable {
    private static final long serialVersionUID = 1010L;

    public int cmd;            // 命令
    public int type;           // 类型：0xff10--发送，0xff11--响应
    public Serializable content;     // 内容对象，必须实现Serializable接口

    @Override
    public String toString() {
        return "GameObject:[cmd=" + cmd + "][type=" + type + "][content=" + content + "]";
    }
}
